package Login;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

public class CheckLogin{
	public static boolean check(HttpServletRequest request){
		HttpSession session = request.getSession();
		Object ous = session.getAttribute("userid");
		if(ous==null)
			return false;
		return true;
	}
}